package cn.com.yusys.yusp.mobile.service;

import cn.com.yusys.yusp.commons.mapper.CommonMapper;
import cn.com.yusys.yusp.commons.mapper.QueryModel;
import cn.com.yusys.yusp.commons.service.CommonService;
import cn.com.yusys.yusp.mobile.repository.mapper.WcrmCustRemindInfoMapper;
import com.github.pagehelper.PageHelper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author
 * @since 2021-06-24 10:24:09
 */
@Service("wcrmCustRemindInfoService")
public class WcrmCustRemindInfoService extends CommonService {

    private static Logger logger = LoggerFactory.getLogger(WcrmCustRemindInfoService.class);
    @Resource
    private WcrmCustRemindInfoMapper wcrmCustRemindInfoMapper;


    public List<Map<String, Object>> queryByUserId(QueryModel queryModel) {
        PageHelper.startPage(queryModel.getPage(), queryModel.getSize());
        List<Map<String, Object>> list = null;
        list = wcrmCustRemindInfoMapper.selectNotLeafNodeId(queryModel);
        PageHelper.clearPage();
        return list;
    }


    @Override
    protected CommonMapper getMapper() {
        return null;
    }
}